home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / src / sprited / dev / dev.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-30  |  1.0 KB  |  38 lines

  1. /*
  2.  * dev.h --
  3.  *
  4.  *    Types, constants, and macros exported by the device module.
  5.  *
  6.  * Copyright 1991 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that this copyright
  10.  * notice appears in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /user5/kupfer/spriteserver/src/sprited/dev/RCS/dev.h,v 1.4 92/04/29 22:08:53 kupfer Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _DEV
  19. #define _DEV
  20.  
  21. #include <sprite.h>
  22. #include <cfuncproto.h>
  23. #include <mach.h>
  24. #include <spriteTime.h>
  25.  
  26. /*
  27.  *    DEV_BYTES_PER_SECTOR the common size for disk sectors.
  28.  */
  29. #define DEV_BYTES_PER_SECTOR    512
  30.  
  31. extern Time        dev_LastConsoleInput;
  32. extern mach_port_t     dev_ServerPort;
  33.  
  34. extern void Dev_Init _ARGS_((void));
  35. extern int Dev_ConsoleWrite _ARGS_((int numBytes, Address buffer));
  36.  
  37. #endif /* _DEV */
  38.